//Gaussian algorithm for solving matrices in C.

#include <stdio.h>
#include <math.h>

void gaussian_solve(int*);

int main() {
	int* matrix[][] = {{5}, {6}, {3}};
	gaussian_solve(matrix);
}

void gaussian_solve(int* matrix) {
	int i;
	int j;
	for (i = 0; i < sizeof(matrix) / pow(sizeof(int), 2); i++) {
		for (j = 0; j < sizeof(matrix[i]) / sizeof(int); j++) {
			printf("%d", matrix[i][j]);
		}
		printf("\n");
	}
}
